package com.jokerpan.project.mapper;

import com.jokerpan.project.entity.UserAction;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author jokerpan
 */
@Mapper
public interface UserActionMapper {

    List<UserAction> queryList(UserAction userAction);

    List<UserAction> queryFans(UserAction userAction);

    List<UserAction> queryViews(UserAction userAction);

    int add(UserAction userAction);

    int deleteById(Integer id);
}
